package com.xpec.c4.game.datamanager.agent.moneyItem;

import java.io.Serializable;
import java.util.ArrayList;

import com.ms.game.itembox.ItemChangeParam;
import com.ms.player.UpdateAttribute;
import com.xpec.c4.game.datamanager.agent.money.MoneyChangeParam;
import com.xpec.c4.game.utility.GUID;

public class MoneyItemChangeParam  implements Serializable {

	private static final long serialVersionUID = -8515581265864869640L;

	/** 交易id */
	private GUID orderId;
	
	private MoneyChangeParam moneyParam;
	
	private ItemChangeParam itemParam;
	
	private ArrayList<UpdateAttribute> updatedAttrList;
	
	/** account guid */
	private GUID accountId;

	/** player guid */
	private GUID playerId;

	/** player name */
	private String playerName;

	/** 發出要求的 module id */
	private String srcModuleId;

	/** 結果代碼 */
	private int result;
	
	public MoneyItemChangeParam() 
	{
		this.moneyParam = new MoneyChangeParam();
		this.itemParam = new ItemChangeParam();
	}

	public MoneyChangeParam getMoneyParam() {
		return moneyParam;
	}

	public ItemChangeParam getItemParam() {
		return itemParam;
	}

	public void setMoneyParam(MoneyChangeParam moneyParam) {
		this.moneyParam = moneyParam;
	}

	public void setItemParam(ItemChangeParam itemParam) {
		this.itemParam = itemParam;
	}

	public GUID getAccountId() {
		return accountId;
	}

	public GUID getPlayerId() {
		return playerId;
	}

	public String getPlayerName() {
		return playerName;
	}

	public String getSrcModuleId() {
		return srcModuleId;
	}

	public int getResult() {
		return result;
	}

	public void setAccountId(GUID accountId) {
		this.accountId = accountId;
	}

	public void setPlayerId(GUID playerId) {
		this.playerId = playerId;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public void setSrcModuleId(String srcModuleId) {
		this.srcModuleId = srcModuleId;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public GUID getOrderId() {
		return orderId;
	}

	public void setOrderId(GUID orderId) {
		this.orderId = orderId;
	}

	public ArrayList<UpdateAttribute> getUpdatedAttrList() {
		return updatedAttrList;
	}

	public void setUpdatedAttrList(ArrayList<UpdateAttribute> updatedAttrList) {
		this.updatedAttrList = updatedAttrList;
	}
	
}
